import request from '@/utils/request'

// 查询车辆完成总记录列表
export function listVehicleTotalLog(query) {
  return request({
    url: '/zndd/vehicleTotalLog/list',
    method: 'get',
    params: query
  })
}

// 查询车辆完成总记录详细
export function getVehicleTotalLog(id) {
  return request({
    url: '/zndd/vehicleTotalLog/' + id,
    method: 'get'
  })
}

// 新增车辆完成总记录
export function addVehicleTotalLog(data) {
  return request({
    url: '/zndd/vehicleTotalLog',
    method: 'post',
    data: data
  })
}

// 修改车辆完成总记录
export function updateVehicleTotalLog(data) {
  return request({
    url: '/zndd/vehicleTotalLog',
    method: 'put',
    data: data
  })
}

// 删除车辆完成总记录
export function delVehicleTotalLog(id) {
  return request({
    url: '/zndd/vehicleTotalLog/' + id,
    method: 'delete'
  })
}
